/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * ConsultarPartido.java
 *
 * Created on 19-may-2010, 20:22:29
 */

package Interfaces;

/**
 *
 * @author Angiita
 */
public class ConsultarPartido extends javax.swing.JFrame {

    /** Creates new form ConsultarPartido */
    public ConsultarPartido() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLayeredPane1 = new javax.swing.JLayeredPane();
        LFecha = new javax.swing.JLabel();
        jFecha = new javax.swing.JComboBox();
        jPartido = new javax.swing.JScrollPane();
        jTPartido = new javax.swing.JTable();
        jAtras = new javax.swing.JButton();
        jConsultar = new javax.swing.JButton();
        LPartido = new javax.swing.JLabel();
        jModificr = new javax.swing.JButton();
        imagen = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jLayeredPane1.setPreferredSize(new java.awt.Dimension(520, 300));

        LFecha.setForeground(new java.awt.Color(255, 255, 255));
        LFecha.setText("Fecha");
        LFecha.setBounds(40, 70, 29, 14);
        jLayeredPane1.add(LFecha, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jFecha.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jFechaActionPerformed(evt);
            }
        });
        jFecha.setBounds(40, 90, 110, 20);
        jLayeredPane1.add(jFecha, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jTPartido.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Hora", "Pais", "Pais", "Estadio"
            }
        ));
        jPartido.setViewportView(jTPartido);

        jPartido.setBounds(50, 140, 370, 90);
        jLayeredPane1.add(jPartido, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jAtras.setText("Atras");
        jAtras.setBounds(50, 320, 100, 23);
        jLayeredPane1.add(jAtras, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jConsultar.setText("Consultar");
        jConsultar.setBounds(200, 320, 100, 23);
        jLayeredPane1.add(jConsultar, javax.swing.JLayeredPane.DEFAULT_LAYER);

        LPartido.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
        LPartido.setForeground(new java.awt.Color(255, 255, 255));
        LPartido.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        LPartido.setText("Partido");
        LPartido.setBounds(200, 20, 120, 30);
        jLayeredPane1.add(LPartido, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jModificr.setText("Modificar");
        jModificr.setBounds(340, 320, 90, 23);
        jLayeredPane1.add(jModificr, javax.swing.JLayeredPane.DEFAULT_LAYER);

        imagen.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Imagenes/Hamburg.jpg"))); // NOI18N
        imagen.setText("jLabel1");
        imagen.setBounds(0, 0, 500, 400);
        jLayeredPane1.add(imagen, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLayeredPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 500, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLayeredPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jFechaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jFechaActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jFechaActionPerformed

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new ConsultarPartido().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel LFecha;
    private javax.swing.JLabel LPartido;
    private javax.swing.JLabel imagen;
    private javax.swing.JButton jAtras;
    private javax.swing.JButton jConsultar;
    private javax.swing.JComboBox jFecha;
    private javax.swing.JLayeredPane jLayeredPane1;
    private javax.swing.JButton jModificr;
    private javax.swing.JScrollPane jPartido;
    private javax.swing.JTable jTPartido;
    // End of variables declaration//GEN-END:variables

}
